package mosquito.g7;

import java.awt.geom.Line2D;
import java.awt.geom.Point2D;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.Random;
import java.util.Set;

import mosquito.sim.Collector;
import mosquito.sim.Light;
import mosquito.sim.Player;

public class G7HardcodedG2B2MapPlayerWith3Lights extends Player {

    private Board board;
    LinkedList<Point2D> previouslyPlaceLights;
	
	@Override
	public String getName() {
		return "G7HardcodedG2B2MapPlayerWith3Lights";
	}

	@Override
	public void startNewGame(Set<Line2D> walls, int NumLights) {
        previouslyPlaceLights = new LinkedList<Point2D>();

        if(board == null)
            board = new Board(walls);
	}

	@Override
	public Set<Light> getLights() {
        HashSet<Light> ret = new HashSet<Light>();
        
        ret.add(new Light(65, 65, 10, 10, 1));
        
        ret.add(new Light(78, 50, 1.5*StaticZap.FLYING_RADIUS_TIME, StaticZap.FLYING_RADIUS_TIME, 1));
        ret.add(new Light(50, 78, 1.5*StaticZap.FLYING_RADIUS_TIME, StaticZap.FLYING_RADIUS_TIME, 1));
        
        return ret;
	}

	@Override
	public Collector getCollector() {
        Collector c = new Collector(65, 64); //TODO
        return c;
	}



    
}
